﻿<UserControl x:Class="BizControl.Presentation.Infrastructure.Controls.MarkControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008">
    <Grid>
        <Button Width="100" MaxHeight="90" Style="{StaticResource AnimatedItemButton}">
            <Border Background="{StaticResource CompletedBrush}" MaxHeight="90" 
                    BorderBrush="Black" BorderThickness="1" CornerRadius="4" Margin="2">
                <Border.ToolTip>
                    <TextBlock Grid.Column="1" Text="{Binding Path=Name}" TextWrapping="Wrap" Margin="5" VerticalAlignment="Center" />
                </Border.ToolTip>
                <TextBlock Text="{Binding Path=Name}" Margin="2" FontSize="8pt" FontWeight="Bold" 
                           HorizontalAlignment="Left" VerticalAlignment="Top"
                           TextWrapping="Wrap" Foreground="Blue" />
            </Border>
        </Button>
    </Grid>
</UserControl>
